package com.common.base;

import java.util.List;

public interface BaseService<T>{

    void setBaseMapper(BaseMapper mapper);


    T getByPrimaryKey(Object id);

    List<T> getList(T t);

    List<T> getAll();

    int insert(T t);

    int inserstList(List<T> t);

    int updateByPrimaryKey(T t);

    int updateByPrimaryKeySelective(T t);

    int deleteByPrimaryKey(Object id);



}
